package net.uzen.office.common.exception;



public class BaseException extends Exception {
	private String errorCode;
	private String definedMessage;

	public BaseException() {
		
	}
	
	public BaseException(String errorCode) {
		setErrorCode(errorCode);
	}
	
	public BaseException(String errorCode, String definedMessage) {
		setErrorCode(errorCode);
		setDefinedMessage(definedMessage);
	}
	
	public String getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	public String getDefinedMessage() {
		return definedMessage;
	}
	public void setDefinedMessage(String definedMessage) {
		this.definedMessage = definedMessage;
	}
}
